import { aGet } from '@/libs/http.js'
function getData(store) {
  return new Promise((resolve, reject) => {
    aGet({
      url: '/api//jztk/query',
      data: {
        subject: store.state.subjectId,
        model: store.state.modelType,
        testType: 'rand'
      },
      success(data) {
        resolve(data)
      },
      error(err) {
        reject(err)
      }
    })
  })
}
export { getData }
